package com.xiaoyy.app.extend.gateway.req.zlbsendmsg;

import com.xiaoyy.core.common.vo.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.HashMap;

@Data
@ApiModel(value="浙里办消息发送对象", description="浙里办消息发送对象")
public class ZLBSendMSGReq extends BaseVO{
    @ApiModelProperty(value = "消息的唯一id，用于幂等")
    private String requestId;
    @ApiModelProperty(value = "身份证号")
    @NotBlank(message = "身份证号不能为空")
    private String idcard;
    @ApiModelProperty(value = "通知业务编码")
    @NotBlank(message = "通知业务编码不能为空")
    private String serviceCode;
    @ApiModelProperty(value = "消息模板参数")
    private HashMap<String, String> templateArgs;
}
